import java.io.IOException;
import java.util.Scanner;

public class Main {
    static String[] urls = {"https://www.baidu.com/","https://www.taobao.com/"};
    public static void main(String[] args) throws IOException{
        Scanner sc = new Scanner(System.in);
        while (true){
            System.out.println("请锁定目标网址,目前可用:");
            for(String s : urls){
                System.out.println(s);
            }
            String command = sc.next();
            if(command.equals("exit")){
                break;
            }
            if (command.contains("超级") || command.contains("super")){
                if(command.contains("图片") || command.contains("picture")){
                    if (command.contains("百度") || command.contains("baidu")){
                        SuperSpider.Baidu();
                        continue;
                    }
                }
            }
            if (command.contains("图片") || command.contains("picture")){
                if (command.contains("百度") || command.contains("baidu")){
                    Picture.Baidu();
                    continue;
                }

            }
            if (command.contains("百度") || command.contains("baidu")){
                Baidu.Spy();
                continue;
            }
            if (command.contains("淘宝") || command.contains("taobao")){
                Taobao.Spy();
            }
        }
    }

}
